home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!marnold
- From: marnold@netcom.com (Matt Arnold)
- Subject: Re: >> Resource Stamping <<
- Message-ID: <marnoldDpot6E.70y@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- References: <4ki7l8$lju@jaring.my>
- Date: Thu, 11 Apr 1996 07:37:26 GMT
- Sender: marnold@netcom22.netcom.com
-
- graeme@iwop.po.my writes:
-
-
- >How do I write to a compiled resource.
-
- Oh, you do do you?
-
- >Microsoft do it in their setup toolkit, but how ???
-
- By opening the executable file, parsing the resource directory, finding
- the raw data, changing it, updating the directory, etc.. Hey, they're
- Microsoft; they do what they want.
-
- Unfortunately, they gave you no way to do this in the Win16 API. You
- *could* use that MSINSSTF.DLL that comes with the Setup Toolkit for
- this one bit of functionality (the FStampResource() function, I think).
-
- So, you either drag around MSINSSTF.DLL for that one function, write
- your own resource-changing code (you'll need all the proper NE file
- format documentation), or don't do it.
-
- The Win32 API, on the other hand, has functions for writing to the
- resources of an EXE or DLL (and not just version stamps!). See the
- UpdateResource() function.
-
- Regards,
- -------------------------------------------------------------------------
- Matt Arnold | | ||| | |||| | | | || ||
- marnold@netcom.com | | ||| | |||| | | | || ||
- Boston, MA | 0 | ||| | |||| | | | || ||
- 617.389.7384 (h) 617.576.2760 (w) | | ||| | |||| | | | || ||
- C++, MIDI, Win32/95 developer | | ||| 4 3 1 0 8 3 || ||
- -------------------------------------------------------------------------
-
-